package com.wangijun.yuan.web.model.em;

import com.wangijun.yuan.core.base.ErrEnum;

public enum AuthErrEnum implements ErrEnum {
    NOT_LOGIN(401, "未登录");

    private final Integer code;
    private final String message;

    AuthErrEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public Integer getCode() {
        return this.code;
    }

    @Override
    public String getMessage() {
        return this.message;
    }
}
